{include file="public/header"/}
<style>
	html,body{background-color: #fff;}
	.editPopupBox{
		width: 100%;
		height: auto;
		padding: 20px 30px;
		box-sizing: border-box;
	}
</style>
<div id="manage-wrap" class="manage-wrap editPopupBox">
    <form id="manage-form" action="#">
        <ul class="mod-form-rows cf">
            <li class="row-item">
                <div class="label-wrap"><span class="red spe_red">*</span><label for="name">名称：</label></div>
                <div class="ctn-wrap"><input type="text" value="" class="ui-input phone-group" name="name" id="name" style="width: 200px;">
                </div>
            </li>
        </ul>
    </form>
</div>
<script>
    $("#btn-add").click(function () {
        $.ajax({
            type: 'POST',
            url: "save.html",
            data: $("#manage-form").serialize(),
            dataType: "json",
            async: false,
            error: function (request) {
                alert("发送请求失败！");
            },
            success: function (data) {
                if (data.status == 1) {
                    alert(data.msg);
                } else {
                    alert(data.msg);
                }

            }
        });
    })
</script>
{include file="public/footer"/}